package com.jyw.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author Created by ZhangCheng on 2024/01/23
 */
@Data
@ApiModel("系统消息分页查询")
public class SysMessagePageDto {

    /**
     * 是否阅读
     */
    @ApiModelProperty("是否阅读（1是 0否）")
    private Integer reading;

    /**
     * 开始日期
     */
    @ApiModelProperty("开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    /**
     * 结束日期
     */
    @ApiModelProperty("结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    /**
     * 接收人
     */
    @ApiModelProperty(hidden = true)
    private Long receiver;
}
